package com.chuangjiangx.member.manager.common.excel;

import lombok.Getter;
import lombok.Setter;

/**
 * excel表头信息对象
 */
@Getter
public class ExcelHeader {

    private Header[] headers ;

    public ExcelHeader(Header... headers) {
        this.headers = headers;
    }

    @Getter
    @Setter
    public static class Header {
        private String name;
        private String fieldName;

        public Header(String name, String fieldName) {
            this.name = name;
            this.fieldName = fieldName;
        }
    }
}
